package com.yjd.bi.etl.user;

import com.yjd.bi.etl.loss.service.LossUserStatisticsService;
import com.yjd.job.BaseJob;

import javax.annotation.Resource;

/**
 * 记录流失用户数job 【每天】
 */
public class LossUserStatisticsJob extends BaseJob {

    @Resource
    private LossUserStatisticsService lossUserStatisticsService;

    @Override
    protected boolean doExecute() throws Exception {
        lossUserStatisticsService.recordLossUserSum();
        return true;
    }

    @Override
    protected String getJobType() {
        return LossUserStatisticsJob.class.getName();
    }
}
